package cn.com.surker.report.dao;

import cn.com.surker.report.entity.ReportRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 报表记录表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2021-12-13
 */
public interface ReportRecordDao extends BaseMapper<ReportRecord> {

    /**
     * 查询集团年报数据
     * @param today
     * @return
     */
    Map<String, Object> findGroup(String today);

    /**
     * 查询公司详情
     * @param today
     * @param orgId
     * @return
     */
    List<Map<String, Object>> findOrgDetail(String today, Long orgId);

}
